package edu.sctu.zhangwang.month201505.day20150518;

/**
 * Created by user10 on 2015/5/18.
 */
public class Operation {
    public void divide(int x,int y,Result result){
        result.part1 = x/y;
        result.part2 = x%y;
    }
    public Result devide(int x,int y){
        Result result = new Result();
        result.part1 = x/y;
        result.part2 = x%y;
        return result;
    }
}
